package com.li.springbootproject.controller.spring;

import com.li.springbootproject.service.spring.BeanInjectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LiDong
 * @version 1.0.0
 * @className BeanInjection.java
 * @createTime 2021年09月04日 20:43:00
 */
@RestController
@RequestMapping("/bean/injection")
public class BeanInjectionController {

    @Autowired
    private BeanInjectionService injectionService;

    @RequestMapping("/test1")
    public void test1(){
        injectionService.test1();
    }


}
